<%@ page language="java" pageEncoding="UTF-8"%>
<!--  header -->
<%@ include file="../layouts/header.jsp"%>

<!--  body -->
<div class="Main">
	<div class="Main_fix">


		<%@ include file="../layouts/left.jsp"%>

		<!-- main body -->
		<script type="text/javascript">
			function save(){
				var saveForm = document.getElementById('saveForm');				
				saveForm.submit();
			}
		</script>
		<form action="<j:uri controller="site" action="save"/>" method="post"
			id="saveForm">
			<div class="Main_body" id="Main_body">
				<div class="Main_locationBar">
					<div class="Main_locationBar_head"></div>
					<div class="Main_locationBar_body">
						<span id="CurrentPosition"><fmt:message key="project.name" />
							&gt; Site</span>
					</div>
					<div class="Main_locationBar_foot"></div>
				</div>


				<div class="Main_bodyAddBar">
					<div class="Main_bodyAddBar_head">
						<span>新增联系人</span>
					</div>
					
					<%@ include file="../layouts/message.jsp"%>

					<div class="Main_bodyAddBar_body">					
							<table cellspacing="1" cellpadding="0" border="0" width="100%"
								class="addTable">
								<tbody>

									<td class="title">
										DomainName:
									</td>
									<td class="content">
										<input type="text" class="input" name="domainName"
											value="<j:out  bean="${bean}" property="domainName"/>" />
									    <j:error bean="${bean}" property="domainName"/>

									</td>
									<td class="title">
										MaxUserCount:
									</td>
									<td class="content">
										<input type="text" class="input" name="maxUserCount"
											value="<j:out  bean="${bean}" property="maxUserCount"/>" />
									    <j:error bean="${bean}" property="maxUserCount"/>
									</td>
									</tr>
									<tr>
										<td class="title">
											Name:
										</td>
										<td class="content">
											<input type="text" class="input" name="name"
											value="<j:out  bean="${bean}" property="name"/>" />
									       <j:error bean="${bean}" property="name"/>
									
										</td>
										<td class="title">
											&nbsp;
										</td>
										<td class="content">
											&nbsp;
										</td>
									</tr>
									</tbody>
							</table>
					</div>
					<div class="Main_bodyAddBar_foot" />
					</div>

				</div>
				<div class="Main_buttonGroupBar">
					<div class="Main_buttonGroupBar_head" />
						<div class="Main_buttonGroupBar_body">
							<input type="button" class="button"
								value="<fmt:message key="form.button.save"/>" onclick="save()" />
							<input type="button" class="button"
								value="<fmt:message key="form.button.list"/>"
								onclick="window.location = '<j:uri controller="site" action="index"/>'" />
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
	<!--  footer -->
	<%@ include file="../layouts/footer.jsp"%>